var mongoose = require('mongoose');
var materializedPlugin = require('mongoose-materialized');

var schema = new mongoose.Schema({
    type: Number,
    title: String
});

schema.plugin(materializedPlugin);
module.exports = mongoose.model('Cate', schema, 'cate');